package com.ruoyi.cinema.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 影院对象 cinema
 *
 * @author HHAOYU
 * @date 2020-12-07
 */
@TableName("cinema")
public class Cinema extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;

    private String areaId;
    /** 影院内码 */
    @Excel(name = "影院内码")
    private String cinemaLinkId;
    /** 影院编码(国家编码) */
    @Excel(name = "影院编码(国家编码)")
    private String cinemaCode;
    /** 影院别名 */
    @Excel(name = "影院别名")
    private String shortName;
    /** 影院名称 */
    @Excel(name = "影院名称")
    private String cinemaName;
    /** 专资名称 */
    @Excel(name = "专资名称")
    private String standardCinemaName;
    /** 经度 */
    @Excel(name = "经度")
    private String longitude;
    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;
    /** 地址 */
    @Excel(name = "地址")
    private String address;
    /** 状态 */
    @Excel(name = "状态")
    private String status;
    /** 电话 */
    @Excel(name = "电话")
    private String phone;
    /** 营业时间 */
    @Excel(name = "营业时间")
    private String openingTime;
    /** 影院公告 */
    @Excel(name = "影院公告")
    private String bulletinBoard;
    /** 影院logo */
    @Excel(name = "影院logo")
    private String logo;
    /** 影院特殊服务 */
    @Excel(name = "影院特殊服务")
    private String specialService;
    /** 是否支持配餐 */
    @Excel(name = "是否支持配餐")
    private String fulfilFlag;
    /** 最大购买数量 */
    @Excel(name = "最大购买数量")
    private String maxBuyCount;
    /**
     * 退票规则文字说明
     */
    private String refundTicketRule;
    /**
     * 周围的服务文字说明
     */
    private String surroundingFacility;

    @TableField(exist=false)
    private Long distance;
    @TableField(exist=false)
    private String mapCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCinemaLinkId(String cinemaLinkId)
    {
        this.cinemaLinkId = cinemaLinkId;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getCinemaLinkId()
    {
        return cinemaLinkId;
    }
    public void setCinemaCode(String cinemaCode)
    {
        this.cinemaCode = cinemaCode;
    }

    public String getCinemaCode()
    {
        return cinemaCode;
    }
    public void setShortName(String shortName)
    {
        this.shortName = shortName;
    }

    public String getShortName()
    {
        return shortName;
    }
    public void setCinemaName(String cinemaName)
    {
        this.cinemaName = cinemaName;
    }

    public String getCinemaName()
    {
        return cinemaName;
    }
    public void setStandardCinemaName(String standardCinemaName)
    {
        this.standardCinemaName = standardCinemaName;
    }

    public String getStandardCinemaName()
    {
        return standardCinemaName;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setOpeningTime(String openingTime)
    {
        this.openingTime = openingTime;
    }

    public String getOpeningTime()
    {
        return openingTime;
    }
    public void setBulletinBoard(String bulletinBoard)
    {
        this.bulletinBoard = bulletinBoard;
    }

    public String getBulletinBoard()
    {
        return bulletinBoard;
    }
    public void setLogo(String logo)
    {
        this.logo = logo;
    }

    public String getLogo()
    {
        return logo;
    }
    public void setSpecialService(String specialService)
    {
        this.specialService = specialService;
    }

    public String getSpecialService()
    {
        return specialService;
    }
    public void setFulfilFlag(String fulfilFlag)
    {
        this.fulfilFlag = fulfilFlag;
    }

    public String getFulfilFlag()
    {
        return fulfilFlag;
    }
    public void setMaxBuyCount(String maxBuyCount)
    {
        this.maxBuyCount = maxBuyCount;
    }

    public String getMaxBuyCount()
    {
        return maxBuyCount;
    }

    public String getRefundTicketRule() {
        return refundTicketRule;
    }

    public void setRefundTicketRule(String refundTicketRule) {
        this.refundTicketRule = refundTicketRule;
    }

    public String getSurroundingFacility() {
        return surroundingFacility;
    }

    public void setSurroundingFacility(String surroundingFacility) {
        this.surroundingFacility = surroundingFacility;
    }

    public Long getDistance() {
        return distance;
    }

    public void setDistance(Long distance) {
        this.distance = distance;
    }

    public String getMapCode() {
        return mapCode;
    }

    public void setMapCode(String mapCode) {
        this.mapCode = mapCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cinemaLinkId", getCinemaLinkId())
            .append("cinemaCode", getCinemaCode())
            .append("shortName", getShortName())
            .append("cinemaName", getCinemaName())
            .append("standardCinemaName", getStandardCinemaName())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("address", getAddress())
            .append("status", getStatus())
            .append("phone", getPhone())
            .append("openingTime", getOpeningTime())
            .append("bulletinBoard", getBulletinBoard())
            .append("logo", getLogo())
            .append("specialService", getSpecialService())
            .append("fulfilFlag", getFulfilFlag())
            .append("maxBuyCount", getMaxBuyCount())
            .toString();
    }
}
